package com.deep.deepenterpise.model.to.gas;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author xyz
 * @version 1.0
 * @title DrAddRefillNoticeTo
 * @description TODO drBeforeChecker、drAfterChecker、drPersonName 暂时写死，后续看需求
 * @create 2024/4/25 14:11
 */
@Data
public class DrAddRefillNoticeTo {
    private Integer drId;

    @NotBlank(message = "请录入气瓶编号")
    private String drGasId;

    @NotBlank(message = "请录入标签编号")
    private String drChipNum;

    @NotNull(message = "请选择规格型号")
    @Min(value = 1, message = "请选择正确的规格型号")
    @Max(value = 4, message = "请选择正确的规格型号")
    private Integer drSpecificaCode;

    @NotBlank(message = "请录入充装时间")
    private String drCzTime;

    @NotBlank(message = "请录入充装人员")
    private String drPersonName = "充装工";

    @NotBlank(message = "请录入充装耗时")
    private String drFillingConsuming;

    @NotBlank(message = "请录入充装前重量(Kg)")
    private String drEmptyWeight;

    @NotBlank(message = "请录入钢瓶规格")
    private String drCzl;

    @NotBlank(message = "请录入充装前检查人")
    private String drBeforeChecker = "充装工";

    @NotBlank(message = "请录入充装后检查人")
    private String drAfterChecker = "充装工";

    @NotNull(message = "请选择充装状态")
    @Min(value = 0, message = "请选择正确的充装状态")
    @Max(value = 1, message = "请选择正确的充装状态")
    private Integer drStatus = 1;

    private Long drCreateTime;
}
